[TASK] introduce new asArray method in Mapping, returning the mapping to-be-sent to server