Don't use NoMethodErrors for control flow
Use a HashWithIndifferentAccess for Tasks field

Covers up differences in how JRuby and MRI handle postgres JSON columns