implement search account action, return result as json