adds codes to the out put of the json for better results