Just wondering out loud: maybe it's possible that tooling for this just hasn't been written yet?
Something along the lines of declaratively stating what a JSON endpoint should be like and having a tool automatically assert that the services conform to that interface doesn't look impossible.