refactor persons request and response JSON