Added option for param loader to throw exceptions for empty maps and vectors.