Clean up double => single quotes
freeze constant hash
Basic uri-based validation on postgres url