get the name right for json