Avoid breaking JSON.pretty_generate and jj

jj foo

would cause an exception because options isn't necessarily a Hash.