JSON serializer for Node HTTP