Add notes for JSON serialization errors that allow to identify the source of the error.