Add JSON parsing.