Makes sure inventory is of type string