added document (json) storage type to metadata
Added mongo backend basics