Convert javascript JSON data into a Ruby OpenStruct with ruby naming convention