# File lib/rabl/engine.rb, line 98 def to_dumpable(options = {}) options.reverse_merge!({ :child_root => Rabl.configuration.include_child_root }) result = to_hash(options) result = { collection_root_name => result } if collection_root_name result end