Use json task serialization