        'amount': months[month].by_category[expense.category.name].amount + expense.amount,
                                                    'color': expense.category.color,
                                                    'icon': expense.category.icon
                                                }
                                            }) %}
                                        {% else %}
                                            {% set _ = months[month].by_category.update({
            