Added hosted app (store) and modify format to include installOrigin in hosted applications