updated json parser. swapped valentine for lodash