fix infinite recursion in JSON writer
fix infinite recursion in JSON writer

boy was that bad!

luanlv/lila,luanlv/lila,arex1337/lila,arex1337/lila,arex1337/lila,arex1337/lila,arex1337/lila,luanlv/lila,arex1337/lila,luanlv/lila,arex1337/lila,luanlv/lila,luanlv/lila,luanlv/lila