Convenience methods for polymorphic JSON construction