Load map in memory before parsing, and do some validating