added simple parser to json