fixing json parser to use another library