yupp, a simple `str_replace('.', '].[')` would do the trick