Template JSONParser; add tests.

8 jobs for json_parser in 5 minutes and 17 seconds (queued for 1 second)