Don't allow non-JSON-able properties any more

In #1384 we agreed that we do not tolerate non-serialisable data.