attempt to make mysql array compat with heroku pg