if metadata is passed into the Component constructor options, assign it to the metadata on the component