initial commit

convert a json to an array with options