Project: mesos
Issue MESOS-3994: Refactor registry client/puller to avoid JSON and struct.
We should get rid of all JSON and struct for message passing as function returned type. By using the methods provided by spec.hpp to refactor all unnecessary JSON message and struct in registry client and registry puller. Also, remove all redundant check in registry client that are already checked by spec validation.
Story points: 3