using css to json to parse css