use of mime and rtype instead of type in ./platforms/npg/parser.js