include key in JSON error for easier error tracing