Your comments

Hi Matthias

Brilliant, thank you very much!

I have been using the mocpy module to access/manipulate MOCs so far and that one seems to happy to serialize into both strings and JSON, so that sounds like a good fit to me.

cheers

Jonas