NEEDS TESTS: fix storeconfig export for array values (PDB-518)

For exported Resources with parameters which value is a Array the storeconfig export fails to collect them. Instead of collecting all the parameter values into a array it simply override the value with each value in turn.