changed archetype to json