move find_objectmap to util for consistency