core: can parse to a service declared by lua.

N/A

Change-Id: I9051e0d7c15284a14de6f8918d17bf3416d54dca
Signed-off-by: liminghao <liminghao@xiaomi.com>