UPD: moved json methods to convert items
UPD: cleaned up some imports