Create a framework for JSON validation at the gateway.