serializes the current state of a dashboard to a JSON object
var state = $$("grid").serialize(serializer);