simple JSON serialization test