Weasel is an object marshalling library for PHP supporting JSON and XML.