Fixed json debug messages in operator[](std::string)
Database indexing fixed.