Condensed down JSON serialisation tests