making AppAPI entities serializable