object: add helper functions to handle various forms of a given object and return...