Front end now sends JSON. A fat free alternative to xml :)