refactor json style