Parses SQM files either as Files or String (to be impl). Returns json.