added parsing of response to json or xml, setting uuid in encode() and code cleanup
added parsing of response to json or xml, setting uuid in encode() and code cleanup

moovatom/moovatom-api-ruby-library