use RSpec.parse_dict() instead of manually updating the root element attributes