Removed JsonSerializer.serialize
Changed JsonSerialiser to an object just for deserializing