added better error messages when an object field fails parsing

Includes the field path and context information when a JSON object fails to parse, which aids in debugging JSON parsing failures.