getting away for to_dict() in all views all together