Development of a Timepix3 readout system based on the Merlin readout system