Convert json ordered list to regular json