Theme JSON API now returns JSON header and Content-length header as well like it should.