FEATURE: Add informative JSON errors

Added seld/jsonlint library to line JSON and throw meaningful parse errors. Currently using json_last_error() which just gives a binary result of erroneous or clean, with no indication of where the problem is.