this parses the recurrence strings into either an object or JSON