I see what you trying to do with this table only having key and value columns.

Have you thought of using mongoDB?