only convert decoded json to a Mash if it was Hash

fixes a bug in parse json middleware when receiving an Array as a response
add retries and retry_interval to acceptable options to be passed to connection
version bump 0.8.1