Test more object JSON generation cases