happstack: Further clean up JSON parser.