this was creating a propery '@mimetype' instead of 'mimetype'. i thought i was
going crazy for the longest time. this is why I dislike coffeescript :(