Enable autodetection of private fields
Add some arbitrary tests for ApiRequest#toJson()