Fixing data for json