Json strims

this pull has a bunch if irrelevant commits because of the revert on iliedaboutcake:master that have to do with redis which made this master a bad rebase

if you only want these specific files, you want strims.php and strim_content.php