Upgrade to Rails 4.2.
Update the after_save hook for Submission.
Ensure the keys are string when dealing with postgres JSON.
Update Task model.