fix: properly escape methods with $ - fixes #12