[WIP] Cleanup file info formatter

- removed "type", can be computed from "mimetype"
- removed unused "date"
- the property "path" is now always returned to the client
- added unit test

@icewind1991 FYI
I think I'll remove the path, there is no need to repeat it for every entry. (at least not now)