Fix exception when options is JSON::Ext