Update as_json to support hash