create_resources() input validation for hash

Currently, create resources doesn't check that the 2nd argument is a hash. It should. Tada!