We need php5.2 because of json_encode/decode