test: add json serialize test