Fixing backslashes being used in Windows paths
Fixing the API: Need to return dict() for JSON