add more standard serialisations for JSON