Parse parses the given JSON data and returns the flags, ptime, and status values.
It returns axslog.PtimeFlag and axslog.StatusFlag based on the presence of the corresponding keys.
If a key is not found or its value is "-", it is skipped.
nolint:gocognit