Add json mock syntax check to prevent easy-to-make error (no return code)