Ensure we always return pickle-able arrays when creating lists
Inputs not converted to user-defined dtype

We were using the constant instead of the parameter.