fix: properly escape methods with $ - fixes #25