mappers: fixed wrong mapping in entityToData()