Make 'json' a dependency for all platforms