Adding length check on splitedkey

This can be an issue if the a json key begins or ends with an underscore.