split out fleetctl into jobs/units/schedules

This function would be more straightforward if you do both calls to the registry fist, then handle deserialization. We wouldn't have large blocks of code wrapped in `if res != nil { ... }`