adjust serialized json for task calls