Can custom actions return payload data objects (JSON)?

Can you add a slot and fill it with serialized / stringified JSON? as mentioned here by @JohnDowding