convert functions in objects to partials. leave other object properties as-is. simple test to cover this case