Minor fix for android build to json parsing of colors

newInstance() was failing because of private default constructor