EDGE-3750: Persisting customTaskMetadata associated with task and providing services to reading/writing them