Restructure schema_dumper for Rails 4.2 compatibiilty