[json serializer] fix layout