First-cut at JSON parser implementation