BACKLOG-855 Fixed error when getting metadata for entity, this method did not yet pass an entity object, it does now. Removed the allready obsolete revision parameter