imported Json and released the lock in SendJsonObject