#9 Add JSON documents support