added option to use boost serialization on parameters