Added basic location parsing to Java to JSON script