Modified import of serialization from par files to reflect new API of kdl_codyco