lib/marshalingCommands.js
function marshalMap(item, marshal) {
  return transform(_.isPlainObject, _.compose(objOf('M'), _.mapValues(marshal)), item);
}
function marshalMap(item, marshal) {
  return transform(_.isPlainObject, _.compose(objOf('M'), _.mapValues(marshal)), item);
}
function marshalMap ( item , marshal ) { return transform ( _ . isPlainObject , _ . compose ( objOf ( 'M' ) , _ . mapValues ( marshal ) ) , item ) ; }
Converts object literal to DynamoDb "M"

@param item
@param marshal
@returns {*}
Converts object literal to DynamoDb M