Parses view files returning files structure as a json object