more relaxed about json conversions