location model to JSON string arrayy storage & XML updates