Format the result of head-parser