Made bodyparserengine extensible and faster
by using map for lookup.