Convert json into css using php.