Allow separator string to be specified in options

Makes it easier to format queries for debugging so that they're readable