Don't include errors key in the serialized JSON if there were none.