Fix warnings about using deprecated RestKit methods and string formatting