use existing _pathlist() function to convert key and an array of values into AWS query param format instead of doing this in every function

Closes #319

Signed-off-by: Tomaz Muraus <tomaz@apache.org>