adding detach around service urls
changed response time to 20s timeout
add support for more JSON types