WEB-5207 Added json dumps for missing parameter (500) and unknown id (404) responses.