PHP model of a web-based JSON resource, based on webignition/web-resource-model