Get children from REST
Convert childNodes to HAML and adapt for new client