protected static function parseValue($value) { return json_decode(preg_replace("/'([^']*?)'/", '"$1"', $value)); }