[INTERNAL] Better exception on JSON parsing