added filter function for maps in lists with keywords