Create grouped hash of object based on parent for use with grouped_collection_for