Remove JSON handling from library