added curl to transport
added json to deal with dict
cycle over dict better
cycle is almost there!