Condense get_deployment_hash and get_instance_hash into create_child_objects