make output compatible with dictionary entries