Continued work on data structure revision on PHP backend