change player model to json