DynamicObject JSON helpers