Fixing JSON handling and using SwiftyJson to convert.