added String[] to object conversion for easier handling of casting params values to particular types