finished js object for edit metadata form