Return/render json. Added status code to the response object, 200 is a default value.
Render/return json. Added phpdoc.