Bugfix: postgres arrays need {} not [], so a new method has been added to create postgres arrays