changed parser to json