change json version to 1.1 and use different options hash if args is nil