improve the json generation, the crs encode was commented