removed redundant checks, fixed a lot of stuff
improved test coverage
bufferio cahce removed, yajl buffer is used directly
tests