json parser BUGFIX wrong leaf move in data

Fixes #614
diff --git a/src/parser_json.c b/src/parser_json.c
index 7666ca8..bc9b352 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -1059,7 +1059,8 @@
         if (!r) {
             goto error;
         }
-        while (result->next) {
+        /* only for leaf-list */
+        while (result->next && (result->next->schema == result->schema)) {
             result = result->next;
         }