Merge: json::serialization: fix reading attributes from non-objects