refactor configuration and support an 'include_assocations' option for tickets