How to deconstruct a JSONB object
Try this:

SELECT z.id, z.name, z.step, jsonb_array_elements(z.magnitude) 
FROM (
SELECT aa.id, aa.name, ao.key AS step, ao.value AS magnitude
FROM todos aa
CROSS JOIN LATERAL (SELECT * FROM jsonb_each(tags)) AS ao) z
ORDER  BY z.id;