Fix problem where public properties on metadata objects where ignored