task generation from json with some mocked data