Add minimal JSON marshalling test