Updated the create_resource manager method to deal with non-required values better