Revert "Remove SchemaNode#getPath from JSON writer in rfc8040"