added array helper functions
Added base types to the metadata entity create screen