Allow integer object keys when converting term to json
i.e. automatic conversion from integer to binary.
Use of list_to_binary/integer_to_list for compat with earlier Erlang versions
Merge pull request #46 from eskuat/develop

allow integer object keys when converting term to json