Json conversion added to GenericRegistry