[#38] Import patch from zfcampus/zf-apigility-doctrine#107

- Adds a tip for serializing to vanilla JSON via the JsonSerializable interface.
Merge branch 'hotfix/38'

Close #38