copying lookup from coffeescript
Not sure if it is a bug, but when a file is saved it changes it's rawtype to application/json
in the git document repo. The actual lookup is being done in main.coffee
and instead of putting the logic outside of the catalogue I decided to put it inside.
Worth noting, once we adopt the beta catalogue then this value would always be application/json
so this is perhaps a temporary solution