generated json serializer for page and adventure