exception if an array is sent as parameter 

When receiving a json array to a hash validator there's an exception because array doesn't have "has_key?"

this is a temporary solution (although somewhat correct) until I figure out how to create an arrayvalidator inline