reformatted colour json to dict