Do a bunch a debugging then realise that it was a problem with Base.Model.toJSON()