added json definition for deployment and role