Add 'include' options to database/index endpoint