handle the serialisation of parameters better