Split map into two objects