Add RubyMotion support

+ Check if JSON has been defined