Puchi

Implemented node.js http server that listens for POST requests and assumes it's being passed JSON. The server uses a little bit of recursion to create a new JSON object from the input JSON that includes only fields from the specified sample JSON. The new JSON can easily be used a number of different ways, but in this example it's sent as part of a simple HTML page that shows the "compliant" parts of the JSON in plain text.

Type "node server.js" to run the server (must install node.js first). Feel free to change the port and host variables in the server.js file if you want to specify a different port or host.

I used curl to post JSON and get the HTML response, but ideally some browser solution down the line would probably work best.