Include id in the response of the created type on json model api if
the document is passed as a parameter.