Make sure hash is what we get
Specs for ResourceParser
Better error messages (a bit)
Validate string types