Resilience and risk in the informal economy