We want to deal with strings above this function
Added toArray for MotionX parser