Add rspec
Map schema to hash