added json rendering for create a party