tortoise: first stab at JSON serializer