update to_json method to return the persons id