Deleted all unnessesury. Problems with nosql-value in map phase.