Made GridFSModule behave more like mod-mongo-peristor using a json action field when not receiving binary data.