Fix: belongs_to inverse reference returns nil from materialize_json.