Added parsing of locations with complex items to Java to JSON script