I have a map that has a POJO as key and another POJO as it\'s value in Document class.
@Collection class message{
private MOdel1 key;
private Map