also normalize based on allOf schema
Merge pull request #5 from yehezkielbs/master

also normalize based on allOf schema