Refactor JSONSpecReader.
Delete rubocop alert.