fromJSON for basic types
Use map instead of loop
Convert JSON Arrays to user specified type
fromJSON for associative arrays
fromJSON is now working for simple versions of own defined types