Fixed unexpected call to "map" function on content

Added type check before call to map function..

This problem was occurring to me: 

TypeError: Property 'map' of object is not a function 
at Object.Module._extensions..js (/usr/local/lib/node_modules/node-theseus/node-theseus.js:156:22)