fail gracefully, return an object on JSON parse error