Add dealloc to DynamicObjectBuilder
Fix setting string fields to support all types of strings