Removed currently unnecessary loops which used to turn persistent JpaObjectMetadata into ObjectMetadata that the application could interact with, since these two objects were merged into one.