add hash asobject