Cleaned up dispatch
Moved _data_to_json as module-level function
Reverted check_fields and added make_contact_dict and make_group_dict as static methods to FakeContactsApi