fixed context in json parser