json serialization split, plus testsuites.