new approach toward hashifying objects, removed Regexp::Grammars dependency