changed debug value statement and put value type to string

added resource_value def and moved sort to be used in type
Merge pull request #64 from sholland/debug_statement_fix

changed debug value statement and put value type to string