JsonSerializer moved to separate class