Wait for lock inside a async thread.
get the json data from db.
Typo
json serializer and save/load data to db.