JAVA-733 JSON.parse doesn't handle $binary object correctly

Fix for issue JAVA-733