Iterates object properties while prepending to string values given prefix using transformation function