rename build_object_hash to from_api_result