Use serialize_task instead of to_json to get all the tasks assigned to a user.
ISO date handling in new task form