slight refactoring + fix encoding issue
remove attr_reader declaration for response