test gem json generate with 'ascii_only' option