fix json refactor

- use new LogStash::Json API
- adjust tests
- add gemspec in Gemfile for running specs, but requires elasticsearch/logstash#2037