Consolidate get and mget into a single function that returns a single item or collection depending on the number of properties