JAVA-734 JSON.parse doesn't handle $timestamp correctly

Fix for JAVA-734 JSON.parse doesn't handle $timestamp correctly