change keys from symbols to strings
refactor specs