Add beautify-json
Function for creating a narrowed function buffer
Minor refactor