fix #467 aria.utils.Json.getValue() returns undefined for value 0

fix it changing the if condition and added a unit test.