CHANGED genreAdapter.java on behalf of @helxsz