better j3m parsing