Add include attributes and proper postgres join quoting