basic json serializer with static files